package com.teamone.msgame.domain;

public class MinedSquare {

	boolean covered = true;
	GameStatus gameStatus;

	public MinedSquare(GameStatus gameStatus) {
		this.gameStatus = gameStatus;
	}

	public boolean isCovered() {
		return covered;
	}

	public void setUncovered() {
		covered = false;
	}

	public void uncover() {
		setUncovered();
		onUncover();
	}

	public void onUncover() {
		gameStatus.status = "LOSE";
	}

}
